home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Diamond Collection / The Diamond Collection (Software Vault)(Digital Impact).ISO / cdr27 / gedsrcb5.zip / GEDSRCH.DOC < prev    next >
Text File  |  1995-03-12  |  4KB  |  108 lines

  1.  
  2. GEDSRCH
  3. -------
  4.  
  5. This isn't a massively complex batch file so I'll try to keep these
  6. instructions as short and simple as possible.
  7.  
  8.  
  9. What it does
  10. ------------
  11.  
  12. After a number of 2.42 gammas and 2.50 betas during which time the
  13. author of GoldED has added many keywords and changed the default values
  14. of some others, it's easy to lose track of what your configuration
  15. (.CFG) files contain, and possibly more significantly what they don't
  16. contain which might be useful or even critical.  For example, were you
  17. caught out by the STATUSLINECLOCK and EDITAUTOSAVE changes?  I wasn't,
  18. of course!  *:^)
  19.  
  20. GEDSRCH.BAT will search your GoldED configuration files for all current
  21. GoldED keywords and produce two lists: one containing keywords which it
  22. managed to find (FOUND.DAT) and another containing keywords it didn't
  23. manage to find (NOTFOUND.DAT).  The list of keywords searched for is
  24. taken from the latest version of GoldED: 2.50.Beta5 dated 20th February
  25. 1995.  (Please note that keywords which are commented out will still be
  26. reported in FOUND.DAT: batch files - even mine - aren't *that* clever!)
  27.  
  28. My suggestion is that you go through the NOTFOUND.DAT file, reading the
  29. description of each keyword in the full GoldED documentation file
  30. (GOLDED.DOC, supplied in GEM250B5.ZIP), and ascertain whether you
  31. ought to be putting the keyword in one of your config files, perhaps to
  32. override a default value which is inappropriate for your system.
  33.  
  34.  
  35. How to use it
  36. -------------
  37.  
  38. First unpack GEDSRCH.ZIP into your GoldED directory.  This archive
  39. contains the following files:-
  40.  
  41.    GEDSRCH.BAT      The main batch file
  42.    GEDSRCH2.BAT     The subroutine which does the searching
  43.    SENDC.COM        A utility which outputs raw ANSI codes to the screen
  44.    GEDSRCH.DOC      This document
  45.  
  46. To search GOLDED.CFG on its own, just type:-
  47.  
  48.    GEDSRCH
  49.  
  50. If you wish to search additional .CFG files, enter the complete list of
  51. filenames:-
  52.  
  53.    GEDSRCH GOLDED.CFG COLORS.CFG GOLDAREA GOLDRAND ADDMACRO
  54.  
  55. You can include the file extension, or omit it if it's ".CFG".
  56.  
  57. GEDSRCH displays a progress indicator bar as it searches.  When it has
  58. finished, it confirms the filenames searched and displays the total
  59. numbers of keywords found and not found.
  60.  
  61. GEDSRCH cleans up all its temporary files and environment variables and
  62. leaves just the files FOUND.DAT and NOTFOUND.DAT on your disk.
  63.  
  64. Hint: if you copy all your .CFG files, the GEDSRCH files and the DOS
  65. program FIND.EXE onto a RAM disk before running, the whole operation is
  66. faster and quieter.
  67.  
  68.  
  69. Limitations
  70. -----------
  71.  
  72. The progress indicator display requires that ANSI.SYS or an equivalent
  73. is loaded.
  74.  
  75. The non-case-sensitive search and keyword totals require the DOS5/6 FIND
  76. command.
  77.  
  78.  
  79. Fixes
  80. -----
  81.  
  82. 1. Incorrect reporting of ENDGROUP in NOTFOUND.DAT corrected.
  83.  
  84. 2. Incorrect reporting of obsolete keywords corrected.
  85.  
  86. 3. As suggested, the DOS environment variable COPYCMD is over-ridden for
  87.    the duration of the batch file and restored to it's original value on
  88.    exit.  Please note that if you abort the batch file whilst it is
  89.    running, the value of COPYCMD will not be restored.
  90.  
  91.    
  92. Bug reports
  93. -----------
  94.  
  95. This is only a little batch file which I wrote in a few idle moments for
  96. my own use and amusement but you're quite welcome to derive whatever
  97. benefit from it you can.  If you can modify it to suit your purposes
  98. more closely, then please feel free to do so.  If you have any bug
  99. reports or suggestions for improvements, then please contact me in the
  100. GOLDED echo or, preferably I think, via Netmail (Fidonet 2:253/10) or
  101. email <rula@yacc.demon.co.uk>.
  102.  
  103.  
  104. Rudy Lacchin, Gloucester (UK)
  105.  
  106. 12th February 1995
  107.  
  108.